change `AnyNewerVersion` to `SameMajorVersion` for version compatibility
authorKevin Albertson <kevin.eric.albertson@gmail.com>
Fri, 7 Jun 2024 16:56:22 +0000 (12:56 -0400)
committerKevin Albertson <kevin.eric.albertson@gmail.com>
Fri, 7 Jun 2024 16:59:02 +0000 (12:59 -0400)
utf8proc appears to use SemVer. Do not consider different major versions compatible.

CMakeLists.txt

index ce85119649a5b2ac2e2c6c2ef4d349ca854b8494..b97c29928f1417b030f7a22076f7a5b645506970 100644 (file)
@@ -75,7 +75,7 @@ if (UTF8PROC_INSTALL)
   )
   write_basic_package_version_file(
     "${CMAKE_CURRENT_BINARY_DIR}/utf8proc-config-version.cmake"
-    COMPATIBILITY AnyNewerVersion
+    COMPATIBILITY SameMajorVersion
   )
   install(FILES
     "${CMAKE_CURRENT_BINARY_DIR}/utf8proc-config.cmake"